<template>
  <div id="app">
  	<wii-shake :conf="shake"></wii-shake>
    <wii-turntable></wii-turntable>
    <wii-scratchcard></wii-scratchcard>
    <wii-slotmachine></wii-slotmachine>
    <div class="zjhtest"></div>
  </div>
</template>

<script>
import 'assets/js/wii_entry';
import 'assets/js/common';
export default {
  data() {
    return {
      shake:{
        isShake: true,
        url: 'http://beta.yao.wii.qq.com/h5/act/draw',
        params:{
          act_id: '123567'
        },
        callback: function(res){
//        console.log(res);
          alert(123)
          GLOBAL.pop("我执行了");
        }
      }
    }
  },
  mounted(){
    console.log('components');
  },
  //相关操作事件
  methods: {
    
  }
}
</script>

<style lang="less">
  .zjhtest {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100px;
    flex: 1;
    background: url('./img/num1.png') top center repeat-y;
  }
</style>
